Keep pre-existing highlighting in completion candidates.
authorDmitry Gutov <dgutov@yandex.ru>
Tue, 5 Mar 2013 07:38:16 +0000 (11:38 +0400)
committerDmitry Gutov <dgutov@yandex.ru>
Tue, 5 Mar 2013 07:38:16 +0000 (11:38 +0400)
commitf8b139be3022f53b28e8e6c2ace720273234a22e
tree1adc1c13121c594a7501591590b21a18e847d50e
parent86a514639e553c6af00ebee0b9deda7dd913c14d
Keep pre-existing highlighting in completion candidates.
* lisp/minibuffer.el (completions-first-difference): State that the
face is "added" in the docstring.
(completions-common-part): Same.  And don't inherit from default.
(completion-hilit-commonality): Prepend 'completions-common-part
and 'completion-first-difference faces to the 'face property,
instead of replacing the value(s).
(completion--insert-strings): Same with 'completions-annotations face.
(completion-hilit-commonality): Use 'face instead of
'font-lock-face, because it gets priority if the completion
strings already have 'face set.
lisp/ChangeLog
lisp/minibuffer.el